package com.cxyd.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: huanglianyun
 * @Description:
 * @DATE: Created in 2020/2/16 20:23.
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("school")
public class School implements Serializable {

    private static final long serialVersionUID = 501L;

    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty("主键ID")
    private int id;

    @TableField("school_name")
    @ApiModelProperty("校区名称")
    private String schoolName;

    @TableField("school_head")
    @ApiModelProperty("校区负责人名称")
    private String schoolHead;

    @TableField("province")
    @ApiModelProperty("校区所在省份")
    private String province;

    @TableField("city")
    @ApiModelProperty("校区所在城市")
    private String city;

    @TableField("create_user")
    @ApiModelProperty("创建人姓名")
    private String createUser;

    @TableField("create_time")
    @ApiModelProperty("校区名称")
    private Date createTime;

    @TableField("detail_addr")
    @ApiModelProperty("校区详细地址")
    private String detailAddr;

    /**
     * 是否删除 0否1是
     */
    @TableField("del")
    @TableLogic
    private Integer del;
}
